package com.dissertation.service;

import com.dissertation.model.Participant;
import com.dissertation.model.StudentParticipant;
import com.dissertation.model.TeacherParticipant;
import com.dissertation.pojo.Message;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ParticipantService {

    String addStudent(StudentParticipant studentParticipant);

    String addTeacher(TeacherParticipant teacherParticipant);

    Message searchStudentByName(String name, String schoolName);

    Message searchStudentNoName(String name, String schoolName);

    Integer importStudentParticipant(List<MultipartFile> files);

    Message searchTeacherByName(String name, String schoolName);

    Message searchTeacherNoName(String name, String schoolName);

    Integer importTeacherParticipant(List<MultipartFile> files);

    Integer deleteParticipant(List<String> ids);

    List<Participant> searchAllParticipant();

    List<Participant> searchByName(String name);
}
